package admin

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type ServiceGroupAdminController struct {
	auto.ServiceGroupController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/:id", 		&ServiceGroupAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/info", 		&ServiceGroupAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/scan", 		&ServiceGroupAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/list", 	    &ServiceGroupAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/update", 	&ServiceGroupAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/create", 	&ServiceGroupAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/copy", 	    &ServiceGroupAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/edit", 	    &ServiceGroupAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/delete", 	&ServiceGroupAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/:id/:field", &ServiceGroupAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/choice", &ServiceGroupAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/ServiceGroup/category", &ServiceGroupAdminController{}, "*:CategoryAction")
}
//func (this *ServiceGroupAdminController) Prepare() {}
//func (this *ServiceGroupAdminController) ListAction() {}
//func (this *ServiceGroupAdminController) GetAction() {}
//func (this *ServiceGroupAdminController) InfoAction() {}
//func (this *ServiceGroupAdminController) ScanAction() {}
//func (this *ServiceGroupAdminController) CreateAction() {}
//func (this *ServiceGroupAdminController) UpdateAction() {}
//func (this *ServiceGroupAdminController) CopyAction() {}
//func (this *ServiceGroupAdminController) DeleteAction() {}
//func (this *ServiceGroupAdminController) EditAction() {}
//func (this *ServiceGroupAdminController) SonsAction() {}
//func (this *ServiceGroupAdminController) ChoiceAction() {}
//func (this *ServiceGroupAdminController) CategoryAction() {}
